@import "./calendar.less";

.hqy-fade-enter-active,
.hqy-fade-leave-active {
  opacity: 1;
  transition: opacity linear 0.2s;
}

.hqy-fade-enter,
.hqy-fade-leave-to {
  opacity: 0;
}

@toast-prefix-cls: ~"hqy-toast";

.@{toast-prefix-cls} {
  position: fixed;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 80%;
  border-radius: 10/@rex;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  box-sizing: border-box;
  text-align: center;
  z-index: @toast-zindex;

  &-mask {
    .fixed(0, 0, 0, 0);
    z-index: @toast-zindex;
  }

  &-top {
    top: 50px;
    left: 50%;
  }

  &-middle {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  &-bottom {
    bottom: 50px;
    left: 50%;
  }

  &-icon {
    display: block;
    text-align: center;
    font-size: 56px;
  }

  &-text {
    .font-dpr(32px);
    display: block;
    text-align: center;
  }
}
